﻿using System.Configuration;
namespace TemplateWeb.Helpers
{
	public static class WebConfiguration
	{
		public static string SiteName
		{
			get
			{
				return ConfigurationManager.AppSettings["SiteName"];
			}
		}

		public static string MailServer
		{
			get
			{
				return ConfigurationManager.AppSettings["MailServer"];
			}
		}

		public static string EnableErrorLogEmail
		{
			get
			{
				return ConfigurationManager.AppSettings["EnableErrorLogEmail"];
			}
		}

		public static string ErrorLogEmail
		{
			get
			{
				return ConfigurationManager.AppSettings["ErrorLogEmail"];
			}
		}

		public static string EmailLienHe { get; set; }
		public static string PasswordEmailLienHe { get; set; }

		public static int NumGoiThietKeWebPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumGoiThietKeWebPerPage"]);
			}
		}

		public static int NumLoaiTinTucPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumLoaiTinTucPerPage"]);
			}
		}

		public static int NumKhachHangPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumKhachHangPerPage"]);
			}
		}

		public static int NumTinTucPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumTinTucPerPage"]);
			}
		}

		public static int NumBinhLuanTinTucPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumBinhLuanTinTucPerPage"]);
			}
		}

		public static int NumNguoiDungPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumNguoiDungPerPage"]);
			}
		}

		public static int NumPhanMemQuanLyPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumPhanMemQuanLyPerPage"]);
			}
		}

		public static int NumVungQuangCaoPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumVungQuangCaoPerPage"]);
			}
		}

		public static int NumQuangCaoPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumQuangCaoPerPage"]);
			}
		}

		public static int Numaspnet_UsersPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["Numaspnet_UsersPerPage"]);
			}
		}

		public static int NumChuongTrinhKhuyenMaiPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumChuongTrinhKhuyenMaiPerPage"]);
			}
		}

		public static int NumThongKePerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumThongKePerPage"]);
			}
		}

		public static int NumLoaiVideoPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumLoaiVideoPerPage"]);
			}
		}

		public static int NumAlbumPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumAlbumPerPage"]);
			}
		}

		public static int NumVideoPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumVideoPerPage"]);
			}
		}

		public static int NumPhanHoiPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumPhanHoiPerPage"]);
			}
		}

		public static int NumHopThuPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumHopThuPerPage"]);
			}
		}

		public static int NumsysdiagramsPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumsysdiagramsPerPage"]);
			}
		}

		public static int NumBinhLuanVideoPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumBinhLuanVideoPerPage"]);
			}
		}

		public static int NumThongTinWebsitePerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumThongTinWebsitePerPage"]);
			}
		}

		public static int NumDanhMucWebPerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumDanhMucWebPerPage"]);
			}
		}

		public static int NumMauThietKePerPage
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["NumMauThietKePerPage"]);
			}
		}

		public static int GoiThietKeWebSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["GoiThietKeWebSortDescription"]);
			}
		}

		public static int TinTucSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["TinTucSortDescription"]);
			}
		}

		public static int PhanMemQuanLySortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["PhanMemQuanLySortDescription"]);
			}
		}

		public static int ChuongTrinhKhuyenMaiSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["ChuongTrinhKhuyenMaiSortDescription"]);
			}
		}

		public static int ThongTinWebsiteSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["ThongTinWebsiteSortDescription"]);
			}
		}

		public static int DanhMucWebSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["DanhMucWebSortDescription"]);
			}
		}

		public static int MauThietKeSortDescription
		{
			get
			{
				return int.Parse(ConfigurationManager.AppSettings["MauThietKeSortDescription"]);
			}
		}

        public static int AlbumDescription
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["AlbumDescription"]);
            }
        }

        public static int SmallImageWidth
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["SmallImageWidth"]);
            }
        }

        public static int SmallImageHeight
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["SmallImageHeight"]);
            }
        }

        public static int MediumImageWidth
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["MediumImageWidth"]);
            }
        }

        public static int MediumImageHeight
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["MediumImageHeight"]);
            }
        }

        public static int NumKhachHangLamPhanMemPerPage
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["NumKhachHangLamPhanMemPerPage"]);
            }
        }

        public static int KhachHangLamPhanMemSortDescription
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["KhachHangLamPhanMemSortDescription"]);
            }
        }
	}
}
